package com.open.capacity.finance.dao;

import com.open.capacity.finance.entity.SourceFileImport;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 审计数据源文件导入
 *
 * @author
 * @email
 * @date 2023-02-01 17:04:11
 */
@Mapper
public interface SourceFileImportDao {

    int save(SourceFileImport sourceFileImport);

    int update(SourceFileImport sourceFileImport);

    int updateImportProcess(@Param("id") String id, @Param("importProcess") String importProcess);

    int delete(String id);

    SourceFileImport findById(String id);

    List<SourceFileImport> findAll(Map<String, Object> params);

}
